package com.usian.admin.controller;

import com.usian.admin.service.LoginService;
import com.usian.admin.service.WemediaNewsAutoScanService;
import com.usian.apis.admin.LoginControllerApi;
import com.usian.model.admin.dtos.AdUserDto;
import com.usian.model.common.dtos.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class textController {
    @Autowired
    private WemediaNewsAutoScanService wemediaNewsAutoScanService;


    @RequestMapping("/update/{id}")
    public void login(@PathVariable("id") Integer id) {
        wemediaNewsAutoScanService.autoScanByMediaNewsId(id);

}


}
